package com.huawei.hwid.f;

import com.huawei.hwid.core.d.b.e;

public class g {
    public static int a(String str) {
        int i = -1;
        try {
            i = Integer.parseInt(str);
        } catch (Exception e) {
            e.d("Util", "paseInt error " + e.getClass().getSimpleName(), true);
        }
        return i;
    }
}
